//
//  NewsModels.h
//  student
//
//  Created by JCai on 2018/9/6.
//  Copyright © 2018年 haiger. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NewsModels : NSObject

@property (nonatomic, copy) NSString *createDate;
@property (nonatomic, copy) NSString *message_id;
@property (nonatomic, copy) NSString *imgPath;
@property (nonatomic, copy) NSString *messageTitle;// 标题
@property (nonatomic, copy) NSString *senderName;
@property (nonatomic, copy) NSString *messageContent;  // 文本内容messageContent
@property (nonatomic) NSInteger is_read;    // 已读未读状态
@property (nonatomic, copy) NSString  *sendTime;
@property (nonatomic) NSInteger senderType;    //
@property (nonatomic) NSInteger mainId;    //
@property (nonatomic) NSInteger recvUserId;    //


- (instancetype)initWithDict:(NSDictionary *)dict;
- (NSString *)getMonthDay;
- (NSString *)getWeekDay;
- (NSString *)getTimeString;

@end
